from __init__ import db
import datetime

class ReplyToPost(db.Model):
    __tablename__ = 'replaypost'
    __table_args__ = {
        'mysql_charset': 'utf8mb4'
    }
    id = db.Column(db.INT,primary_key=True,autoincrement=True)
    linkPostId = db.Column()
    content = db.Column()
    authorid = db.Column()
    time = db.Column(nullable=True,default=datetime.datetime.now())
    point = db.Column(nullable=True,default=0)
